﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using IFDB.ViewModels.PageViewModels;

namespace IFDB.MVC.Controllers
{
    public class MatchController : Controller
    {
        public ActionResult Index(Guid? matchId, int page = 1)
        {
            MatchViewModel matchViewModel = new MatchViewModel(matchId, page);
            return View(matchViewModel);
        }

        public ActionResult _HeadToHeadList(MatchViewModel matchViewModel)
        {
            return PartialView(matchViewModel);
        }

        public ActionResult _DaysMatches(MatchViewModel matchViewModel)
        {
            return PartialView(matchViewModel);
        }
    }
}
